/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package quanlisinhvien.dto;

/**
 *
 * @author Marshmallow
 */
public class KhoaDTO {
    
    private int maKhoa;
    private String tenKhoa;

    public int getMaKhoa() {
        return maKhoa;
    }

    public void setMaKhoa(int maKhoa) {
        this.maKhoa = maKhoa;
    }

    public String getTenKhoa() {
        return tenKhoa;
    }

    public void setTenKhoa(String tenKhoa) {
        this.tenKhoa = tenKhoa;
    }

    public KhoaDTO() {
        this.maKhoa = 0;
        this.tenKhoa = "";
    }

    public KhoaDTO(int maKhoa, String tenKhoa) {
        this.maKhoa = maKhoa;
        this.tenKhoa = tenKhoa;
    }
    
    public KhoaDTO(KhoaDTO _khoa){
        this.maKhoa = _khoa.getMaKhoa();
        this.tenKhoa = _khoa.getTenKhoa();
    }
           
}
